package com.kingstar.ceres.data.annotation;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CsvHeader implements Comparable<CsvHeader>{

    private String title;

    private int order;

    private String filed;

    private Boolean ignore;

    private Class<?> filedClazz;


    @Override
    public int compareTo(CsvHeader o) {
        return order - o.order;
    }
}
